package me.sdevil507.biz.fruit.dto;

import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @program: tips_back_end
 * @description:
 * @author: kzl
 * @create: 2020-07-27 16:32
 **/
@Data
public class ResultExpertDTO {

    public  long userId;

    public  String  typeName;

    public  String  author;

    public  Long  num;

    public String fruitName;

    public List<Integer> fruitCount;

    public List<ResultExpertDTO> expertResult;

    public ResultExpertDTO() {
    }

    public ResultExpertDTO(long userId, String typeName, String author, Long num) {
        this.userId = userId;
        this.typeName = typeName;
        this.author = author;
        this.num = num;
    }

    public ResultExpertDTO(String fruitName, List<Integer> fruitCount) {
        this.fruitName = fruitName;
        this.fruitCount = fruitCount;
    }

    public ResultExpertDTO(String author, Long num) {
        this.author = author;
        this.num = num;
    }
}
